Ins and Outs

What does the idiom “ins and outs” mean?

Definition: Details of a process or situation

Example: Anyone can go online and buy and sell stocks, but it takes years to really learn the ins and outs of stock trading.