Loosely, "according to what pleases" or "as you wish"; libitum comes from the past participle of libere, "to please". It typically indicates in music and theatrical scripts that the performer has the liberty to change or omit something. Ad lib is specifically often used when someone improvises or ignores limitations. Also used by some restaurants in favor of the colloquial "all you can eat or drink".
A much more detailed analysis with detection of relationships or clauses can be found in our Sentence Analysis! Try it out!