While some families have had to make the painfully hard decision to leave their pets behind as they take refuge amid the Russian attacks on Ukraine, others are evacuating with their animals in tow no matter the risk.

People have been seen fleeing Ukraine with dogs, cats, hamsters, rabbits and birds, as the Associated Press reported.

RUSSIA INVADES UKRAINE: LIVE UPDATES

These daring evacuations are taking place as Russian forces continue to shell Ukrainian cities and more than 2.5 million people have left the country.

Woman cries while holding cat

A woman who was evacuated from Irpin, a city not far from Kyiv, cries and kisses a cat she's holding in a blanket at a triage point in Ukraine. (AP Photo/Vadim Ghirda)

Victoria Trofimenko, a 42-year-old mother, wanted to stay in Kyiv with her family, but she eventually fled the capital with her daughter, mother, dog and cat after missiles and explosives hit close to home.

RUSSIA-UKRAINE WAR FORCES INDIA TO ADJUST ENTRY RULES FOR CITIZENS FLEEING WITH PETS

"I can’t leave dogs or cats," Trofimenko told the Associated Press. "I have to take responsibility."

The family boarded a train to Hungary before they settled in Prague, Czech Republic.

Trofimenko noted she felt grateful for the protection her family’s dog has provided during their arduous journey.

Woman flees Ukraine with Siberian Husky in arms

A woman carries s a dog while crossing the Irpin River on an improvised pathway under a damaged bridge as people flee the town of Irpin, Ukraine. (AP Photo/Vadim Ghirda)

Animal companionship has helped many others deal with the emotional trauma of leaving everything behind.

LATVIAN WOMAN TO DRIVE ABANDONED PETS OUT OF LVIV, UKRAINE, TO ESCAPE THE RUSSIAN-UKRAINE WAR

Of the more than 2.5 million Ukrainians who have evacuated the country, the majority have been women and children. 

Most Ukrainian men between the ages of 18 and 60 are prohibited from leaving the country under martial law, which has left families separated and worried about their safety outside Ukraine.

KYIV ZOO STAFF, FAMILIES HIDE AMID RUSSIA-UKRAINE WAR IN 'ZOO MILITARY COMMUNE' 

People who have left with their pets have held them close as they travel through flattened towns or find refuge at transportation hubs and border checkpoints.

Woman hugs cat at Lviv train station

A Ukrainian girl pets a cat she's keeping safe inside her coat at the Lviv railway station. (AP Photo/Bernat Armangue)

Fox News Digital previously reported that pet owners in Ukraine have left their animals with rescue volunteers instead of abandoning them completely. 

Some of these volunteers are loading up lone pets they find in Ukraine and are evacuating the animals to neighboring countries.

TWIN LIONS EVACUATED FROM UKRAINE ARRIVE IN BELGIUM AFTER PERILOUS JOURNEY   

Families that have been displaced or who have chosen to leave Ukraine altogether have had to travel long distances in cold weather, sometimes in hostile territory.

Woman walks over makeshift bridge with her dog as she flees Ukraine

Ukrainian servicemen help a woman carry a small dog across the Irpin River on an improvised path while they help people flee Irpin, Ukraine. (AP Photo/Vadim Ghirda)

In these circumstances, even carrying essential items has become a challenge — and some have opted to abandon their things during their journeys.

CLICK HERE TO GET THE FOX NEWS APP

"You should have seen things scattered along the road," Ludmila Sokol, a gym teacher fleeing Zaporizhzhia, told the Associated Press. 

"The farther you carry things, the harder it is."