What are the different types of cavity?