Solids exert pressure due to their weight.
eg:A block of any material sitting on a table exert pressure because of its weight. Let us imagine a cubic block sitting on a table. The area of contact is A, the weight is P, then the block will be pressing against the table with a
pressure = weight/area = P/A