This is the 17159th most frequent Russian word.
стек
Stack.
Here, 'стек' is used to mean 'stack', referring to a pile or a set of objects arranged in an orderly fashion.
Я сложил старые книги в стек.
I stacked old books into a stack.
In this context, 'стек' refers to a 'stack' in computer science, a data structure that operates on a last-in, first-out principle.
Программа использует стек для хранения данных.
The program uses a stack to store data.
The word 'стекла' is related to 'стек', but here it is a form of the verb 'стечь', meaning 'to flow down.' It shares an origin but functions differently as a verb.