Short selling means selling borrowed shares first and buying them back later. Here is how gains and losses arise, how losses grow, and the rules around it.
A normal trade buys first and sells later. A short sale flips the order: sell first, buy later. Since you cannot sell shares you do not own, you borrow them from an institution or broker that holds them and sell those.