Trash cans are receptacles whose main purpose is storing garbage. They are often lined with garbage bags. A bag by itself isn't a trash can. A can isn't a trash can if storing garbage is not its primary purpose, even if it contains trash (e.g. a soda can with gum wrappers inside).