Frozen sections are prepared by freezing tissue samples rapidly, usually with liquid nitrogen, and then sectioning them using a cryostat. This technique is used for rapid intraoperative diagnosis, as it allows for quick examination of tissues without the need for paraffin embedding and extensive processing.