What new invention detected aircraft?

In the 1940s the new invention of radar detected German aircraft off the coast of England.