Research is a major part of writing.
Brain Break (English Class)

Research Your Work – Without Getting Lost in Rabbit Holes

Creating your own worlds, creatures, and characters is half the fun of writing. But you can't go off the rails crazy and do whatever you want and still expect people to join you on the ride. There has to be SOME crumb of reality there. And that means conducting research before you write. As onerous a task as that sounds.