In general, you can process and collect all parts of the dandelion. You should only pay attention to the different flowering times, which determine the harvesting times. Dandelion roots should mainly be harvested in autumn. You can harvest it in March, but then it is still very bitter and therefore not easily digestible for sensitive stomachs.
The following table gives you a brief overview of when you can harvest which part of the dandelion: