Medpace Interview Question

What are components used for in Angular?