Prolog is primarily used in artificial intelligence and computational linguistics. While it is possible to use Prolog in web development, it is not the best choice as it does not support many features found in other programming languages such as object-oriented programming.