@RohilPatel :| FIREBASE IS LITERALLY A DATABASE!!!! Sorry - the way you put it really underestimates firebase power. In addition to analytics, you can literally store and retrieve data with firebase, which is how I made datapost-1 (you can find it somewhere if you want, I don't want to advertise links).
@RohilPatel More languages and different ways to acheive the same effect really (plus firebase = cloud, so no need to set up a physical server). I mean that's kind of like asking y we using HTML, CSS, and JS when we could be using C++ instead
Also json is like a way to storing stuff not really only used for a database
@RohilPatel firebase is more like a service/technology.
What makes firebase unique is that it is secure (if implemented correctly), based on the cloud (near unlimited expansion for data), and is rather easy to use (uses simple js language like "push"), free, can be integrated with nearly all google services (well I mean its made by google), no download needed (like for local servers like X[W]AMPP), multiple language integration, crash reporting, automatic data updating without refreshing the page, etc.