You can safely trade with other players for items or money (in-game currency) using the
To trade with someone, enter
/trade <player>. The other player will need to accept (or deny) using the
/trade <accept/deny> command or clicking the links
Trading can only happen when both players are within 16 blocks of each other!