A man finds a treasure buried in a field. This reminds me of those people you may have seen on the beach sweeping with a metal detector. When the beeping goes off, they dig and pull up whatever it is they’ve found. The point is they are looking for buried treasure.
Most people in life are looking for treasure. They are looking for the meaning of life, at least if they are honest with themselves. Typical questions include: Why am I here? What am I supposed to be doing with my life? Why was I born? Why do I have to die? What happens after I die? Is this all there is?
Jesus says once the man finds the treasure that’s buried in a field, he is so joyful he buries the treasure again presumably for safe-keeping and so he knows exactly where his treasure is. Then the man sells everything he has, so he can afford to buy the field and so secure the treasure for himself.
The point Jesus makes is that the buried treasure is for the one who finds it and recognizes its great value. Likewise the kingdom of Heaven is for the one who seeks it, finds it, recognizes its “very special value, goes and sells everything and buys it.” (Matthew 13:46)