A rotary hammer is a powerful tool used primarily for drilling holes and chiseling in hard materials like concrete, masonry, and stone. It combines rotary drilling action with a hammering mechanism, allowing it to efficiently break apart and remove material, making it suitable for both drilling and demolition tasks.