An RO membrane forces molecules through a semipermeable membrane (certain substances can pass through but not others) to form a less concentrated solution then you started with. The inside of the membrane looks like so:
Some of the things an RO membrane can filter out are:
Lead
Copper...