To prepare agar for histological applications, it is first dissolved in water by heating until it forms a clear solution. Once the solution cools to around 45-50°C, tissue samples can be embedded in it. The agar solidifies as it cools further, forming a firm matrix that supports the tissue during sectioning.