Where browsing history is being stored?

Hello, I want to analyze my browsing habits with a script. In order to do it I would like to know where history logs are stored. Where they’re stored on Linux in particular.