A sun temple is a building used for religious or spiritual activities, such as prayer and sacrifice, dedicated to the sun or a solar deity. Such temples were built by a number different cultures and are distributed across the world including in India, China, Egypt, Japan and Peru. Some of the temples are in ruins, undergoing excavation, preservation or restoration and a few are listed as World Heritage Sites individually or as part of a larger site, such as Konark.