As an example, a CPU goes in a socket, so buying a MoBo that had a socket that didn't math the CPU would be a bad thing. Same for RAM ....and the list goes on.
Suggest that you post a budget and list of intended uses and ask for suggestions.
u cannot buy watever u want...u need to check for compatibility of each component with the other...
this is gud place to assemble ur system as it will show u compatibility list...https://pcpartpicker.com/
As an example, a CPU goes in a socket, so buying a MoBo that had a socket that didn't math the CPU would be a bad thing. Same for RAM ....and the list goes on.
Suggest that you post a budget and list of intended uses and ask for suggestions.