👉 Discards in computer science and programming are terms used to describe elements that are not needed or useful for a particular purpose. They can be either temporary, which means they do not persist after the program ends execution, or permanent, which means they remain available even after the program is finished. Discardable elements can include garbage values, unused memory, or any data that has been allocated but never used.