Bitcoins do not have value as a physical commodity like gold and are not widely accepted as legal tender like dollars.
Rather, Bitcoin appears to have value for the following reasons: It is popular.
In short, people accept and trade in Bitcoin because other people accept and trade in Bitcoin.
Bitcoins in the past has a very low value and as the time goes by, the price began to increase due to the demand in the market and now it was classified as a currency and there are online stores that are already accepting a cryptocurrency payment method.