What’s With Keto Diets?

I don’t get the Keto Diet. From what I’ve heard, you base your diet on what a caveman would eat (meat, veggies, fruit, no/low carbs, water, etc.) But then like I guess you also eat full-fat foods like full-fat salad dressing and bacon and butter, etc...? How is that a diet or a way to lose weight????