These branches, once suitably blessed, are said to conduct lightning, and you'll see them attached to houses all over Spain.
Many people in Spain attach these branches to their houses.
There is no known use for these branches apart from being kindling.