Basking is sitting or lying in warmth, enjoying it. You can also bask in something pleasant, as in "she was basking in the attention".
Lizards like to bask in the sun because they are cold blooded and the sunshine warms them up.
A cask is a reasonably small container, usually used for storing alcoholic drinks. Casks are usually shaped like a small barrel, although the term is often applied to cheaper boxed wine too.