Frozen section analysis is primarily used in oncological surgeries to assess tumor margins and lymph node involvement. It is also used in organ transplantation to evaluate donor organs for suitability. Other applications include the diagnosis of infections and inflammatory conditions during surgery.