Padding is the property which defines the how many area inside the element will not be usable for inner content.
after adding the padding property to the element , the size of element increases as much as padding size.
in the elements like button , input etc. , padding helps to increase the size of element so the text inside element looks good.
in css
element{
padding:2px;
}
in html
<element style="padding:5px">the text</element>