science behind temples