The @Transactional annotation in Spring ensures that a method is executed within a transaction context. If any runtime exception occurs, it will roll back to maintain data integrity. For instance, in an e-commerce application, placing an order would use @Transactional to ensure that payment processing and inventory deduction happen together.