A grand master and students in a martial arts class bow towards each other in a gesture of respect for each other and the sacred art .