This meaning refers to a flat object with raised edges used for serving or transporting items.
She carried the drinks on a tray.
The waiter placed the tray on the table.
This meaning refers to a shallow container built into furniture, equipment, or storage systems.
Put the papers in the document tray.
The printer has two paper trays.