What are agar and what are they used for?

Agar is a chemical obtained from brown algae . It is actually a solidifying agent and used to prepare media for microbial growth .