It does depend on what you want to shoot, and what you want to learn.
If you are only capturing the moment, then even a cell phone can be perfectly fine.
If you want a travel camera, then a mid-range P&S (one that has a lens that can go from wide angle to a 300mm zoom but can't be moved off the camera) is also perfectly fine.
If you want to specialize, say in Sports or Portraits, then you get into all the variations of DSLR and what is important to you.
My take.. if you want to learn, (how to expose, how to white balance, how to get the most out of a camera) get an older DSLR model off ebay for 200-300 bucks, buy one lens, shoot the crapola out of it and THEN figure out what you really want to do/shoot and buy specifically for that. Buying Canon or Nikon is a safe bet, and you can usually recoup money back if/when you sell back to go to a new system. Not saying other makers aren't good, but for learning - I'd go with one of the big two first - you can switch with minimal loss of investment, where starting in another manufacture can have a steeper depreciation of assets.
Also, buying good used glass (lens) with either system is never a bad investment. Bodies will trade out/upgrade over time, but good glass holds its value and is timeless (at least for the most part)
Godox/Flashpoint r2 system, plus some canon stuff.