Broker Consulting interview question

How does the @Transactional annotation work in Spring?