To store some code about thread