Free Dynamics Environment for Hands on Experience
You will find this article helpful if you are new to Dynamics platform and don't have a ground to play
Dynamics 365 is fleet of solutions that are used to create ERP provided by Microsoft and as every proprietary software solution, it is paid. So if you are thinking of purchasing it just to try things out its a bad idea because it can unnecessarily cost you a lot of money. Pricing | Microsoft Dynamics 365
So, for you to get your hands on it you need to start at a place where D365 is already implemented.
Another solution to start your experience is Microsoft Learn.
As D365 isn't open source therefore it doesn't attract tech flies, due to which its available learning material is very short as compared to other open source platforms. It has its own Community named as Microsoft Dynamics Community
Microsoft Learn is managed by Microsoft itself where you can learn about almost all Microsoft technologies. It has module wise learning as well as complete Learning paths where you can track your performance and also get XPs (Rating Points just to encourage you)
So how will you get the learning environment ?
When you start D365 Developer learning path you will also have to perform lab tasks along with articles . Where Microsoft provide a free VM for 2hours with latest Visual Studio installed, there you can play around creating your D365 projects and getting know how of platform.
You can also create other projects but it is not recommended because VM lasts for only 2 hours and building big projects is useless.
Enjoy your time in D365 Environment