You bitcoins are accepted because they are recognized by others to be part of a block originally mined by someone.
Really not that different from how money is "printed" by central banks these days (somebody presses the "generate €1.000.000" key and that updates a value in a DB).