BASIC life support and defibrillation skills were taught to Ilsington Primary School children by members of the charity Heartswell South West at a training workshop.
Children at the school had previously run a pop-up teashop and raised £220 to contribute to the purchase of a community automated external defibrillator, which is now outside Ilsington Village Hall.
The school council organised posters, flyers and invitations for the fundraising event. Pupils then staffed the teashop taking on roles of greeters, waiters and cashiers.
A school spokesman said the village school is at the heart of the community and was keen to get involved in this local initiative.
Jacob Brown, pupil and school councillor who attended the training, said: ‘I feel I’ve helped the community which I am proud to be part of.
‘The training was hard but I learned new skills which could help save someone’s life. That feels amazing.’