Market, limit and stop orders, how take profit and stop loss protect you, and order confirmation.
Fills straight away at the current price. This is what Buy and Sell do by default.
A pending order waits for the price you set, then fills by itself.
Pending orders stay until they fill or you cancel them. Closing a position does not cancel them.
By default the chart asks you to confirm each order. You can turn this off in the chart settings, under Trading. Closing a position does not ask.
If the price jumps past your stop loss, for example over a weekend, the loss can be bigger than planned. Your account balance still never goes below zero.