It is the same with every bike that all safety gear is available before you take it out for the first time.
Many don’t purchase this vital equipment immediately but it is a legal requirement and will get you pulled over if the law is being broken.
Purchase a helmet, knee pads and elbow pads. This combined with sensible clothing will potentially save your life if an accident was to occur. There is no point purchasing a dirt bike just to be unsafe. Have fun but be sensible.