A temple, a:layam is composed of Aa (means ‘completely’) and layam (means ‘bring/draw together’).
A Kovil is a residence of God. His residence is in a different format depending on the timeframe.