On boats we often generically refer to Lithium Iron Phosphate batteries as Lithium because it is easier to say and more frequently it is LFP because it is easier to type than the correct formula, which is LiFePO4.
LFP batteries are broadly speaking lithium ion batteries, however, all lithium based batteries are technically lithium ion batteries. There are different kinds of chemistries involved in the batteries, some are lithium and cobalt, some are lithium and manganese. The various chemistries have different characteristics and some are more prone to fires, i.e., rapid oxidation of the lithium than others. The big danger of a lithium fire is that it can not be easily squelched, pouring water on it can make it worse.
LFP batteries appear to be immune to fire. ABYC has extensively test LFP batteries trying to get them to burn and they could not get them to catch fire. They posted a statement on this last fall. But not every insurance company has gotten the message.
While LFP batteries offer many advantages, they are not a drop in solution. It is best to do your research and listen to experts in the field, not just the YouTube videos and remember the marine environment is much different from the RV environment.
We will be replacing our FireFly batteries this spring with LFP. It will be an easy swap because I already have a LFP compatible charger, solar controllers, LFP compatible regulator and high out put alternator.