do they have some real background or are they a star trek invention which is mainly supposed to look cool?

i can't imagine that they are very practical weapons and that a bat'leth fighter could stand a chance against a normal sword fighter for example.