When a trash can becomes full, someone has to take it outside to be collected or stored. This is called "taking the trash out."
Another word for "trash" in the U.S. is "garbage". You can also "take the garbage out". In some other countries, "trash" is called "rubbish", but that's not common in the U.S.