The war in Ukraine has affected children, and Roger will be donating $500,000 to help them.
More than three million people, many of them children, have fled the country since Russia invaded Ukraine last month, according to the UN.
The money will be donated by the former world tennis number one.
"My family and I are horrified seeing pictures from Ukraine and heartbroken for the innocent people who have been so terribly affected. We stand for peace," the 40-year-old Swiss player wrote on Twitter.
About six million Ukrainian children are currently out of school and we know it is a very critical time to provide access to education and we would like to support them to deal with this extremely traumatic experience.
Unicef, the UN's children's charity, says that acts of generosity by people in the world of sport are helping to make a difference for those affected by the conflict.
The generosity and kindness that has been shown across the sporting world from teams to individuals has been incredible, as we see how the power of sport continues to unite people from all over the world.
There are many ways that sport is coming together with charity.
Earlier this week, Real Madrid pledged to donate one million euros (£844,980) to charities including the Red Cross and United Nations High Commissioner for Refugees (UNHCR).
A statement on the Spanish football club's website explains that their foundation will collaborate with different international NGOs to provide care and equipment for the facilitation of education and sports for displaced children, as well as helping with the reception of refugees within Spain.
The Italian giants sent help to transport refugees fleeing Hungary to be re-housed in Italy.
Buses carrying 80 refugees, mostly women and children, returned from Ukraine on Sunday. Medical staff were included in a delegation of staff.
A statement on the Juventus website said: "Passively observing without acting was impossible, as was commenting on the events without trying in every way to set up an operation to help."
Championship side Middlesbrough host Chelsea at the Riverside Stadium in their FA Cup quarter-final on Saturday. A statement on their website says that they will donate their share of gate receipts from the fixture to humanitarian aid in Ukraine.
Rangers and Celtic have shown their support.
The first-team players, management and directors of Rangers will donate a minimum of 72,000 dollars in aid of Ukraine.
The club's charity foundation pledged a donation earlier this month.
Last week, Celtic donated over ten thousand dollars to a charity in aid of Ukrainian refugees.
The Scottish national team were going to play in the World Cup play-off against Ukraine.
Scotland will now play Poland in a friendly at Hampden Park, with the money raised from ticket sales going towards helping Unicef in Ukraine.
The European Union froze the assets of a Russian billionaire who has commercial ties to a football team.
The Disaster Emergency Committee (DEC) has been given 250,000 by the Toffees in order to help those fleeing invasion.
Bill Kenwright and Farhad Moshiri will match the donation.
In the US, it was reported on Tuesday that NBA team, Utah Jazz have teamed up with Airbnb to help fund 32,000 nights of short-term, free housing for refugees fleeing the conflict.
Andy Murray will donate his prize money for the rest of the year to children affected by the war.
Murray is an ambassador for Unicef UK.
"It's vital education continues, so Unicef is working to enable access to learning for displaced children, as well as supporting the rehabilitation of damaged schools, together with replacement equipment and furniture," the 34-year old said.
An appeal called "Golfers for Ukraine" has been supported by different golfing organizations. The campaign has raised more than half a million dollars so far.