Pre PYQs GS

UPSC Prelims 2013 GS question 36

Some Buddhist rock-cut caves are called Chaityas, while the others are called Viharas. What is the difference between the two?