Does hstore and jsonb have the same plumbing internally?

is store implemented internally identically to jsonb, just with a constraint that the data must be flat? If no, when / why should we use hstore instead of jsonb?