A Diviner is a form of Specialist Wizard in Dungeons & Dragons. Their associated school, Divination, is the archetypical "utility mage" school; diviners have no offensive powers inherent to them, but their ability to gather lore and information is unsurpassed, with the ability to read minds, look into the past, see across the planes, and foretell the future.
Ironically, this has made Diviners one of the schools that DMs tend to hate the most, as whilst they don't directly benefit in combat, their spells A: make it almost impossible to run mystery or detective-themed games, and B: support the infamous "Scry 'n' Fry" school of boss-fighting. Diviners are right up there with Enchanters as "the wizarding school of That Guy" - although, at least they don't take forever to do their work as with Conjurers.
Some DMs even outright ban this specialization or school, which isn't unprecedented - the Ravenloft setting quite famously ganks virtually every single Divination spell in some way, from flat out preventing them from working (Detect Evil and its relatives) to just making them not worth the risk (telepathy type spells can result in Sanity damage if you use them on the wrong target).
Scry 'n' Fry
The "Scry 'n' Fry" is a time proven method to both destroy a boss with minimal need to grind through a dungeon, and to make a DM rip their hair out. The process works like this: first you scry the target to find out where they are, then teleport to their location, then 'fry em', and then teleport out. No muss, no fuss.
While most definitely legal, (5e even calls out 'seeing a place with magic' as a valid teleport target), arguably thematic, (its not dissimilar from a space marine drop pod) and unarguably effective (since you're ignoring everything between the bad guy and you, and so expend no resources) it can also make a DM rip their hair out as you make all their efforts at planning the dungeon to be worthless.
As a DM, there are five options to deal with this. One: house rule it so you can not teleport to a scryed location, but that makes rules lawyers throw a fit since, as mentioned, scry 'n' fry is rule legal. Two: have the bad guy set up anti teleport or scrying magical defenses. Three: roll with it and set up the challenges in other ways. Four: talk to the players about it and lastly five: have them be Scry 'n' fryed by something bigger then them.
5th Edition's Arcane Tradition
Diviners are still the typical DM's most hated wizardly tradition, and probably the one most likely to get banned at any gaming table. Why? Because the 5e Diviner is a master of screwing with dice rolls and is one of the more complicated of the default Traditions. At level 2, they gain the Portent ability, which lets them roll two D20s and take the numbers as notes. They can burn these "saved" rolls to use them as the automatic results of an attack roll, saving throw, or ability check, although each "saved" roll is only usable once, the Portent can only be used once per turn, and "saved" rolls are lost the next time the Diviner takes a long rest (note that that they can grant or force any being they see one of these rolls). At level 6, they gain Expert Divination; whenever they cast a Divination spell of level 2 or higher, they can regain a spent spell slot, so long as this slot is A: no higher than level 5, and B: is at least one level lower than the spell they cast to gain the refund. Their level 10 ability, The Third Eye, isn't so bad; when the Diviner completes a short or long rest, they can give themselves either Darkvision 60 feet, Ethereal Sight 60 feet, See Invisible 10 feet, or the ability to read any language. Finally, at level 14, their Greater Portent gives them three D20s for Portent instead of only two.
Generally, Expert Divination is just a few extra line items for the player to keep track of, but Portent can be a campaign-wrecker. Why is Portent such a big deal? Because those saved rolls can turn a crucial moment into slapstick comedy. The diviner can point a dominate spell at the BBEG and declare its save to be the three she rolled over cheerios this morning; suddenly the party is playing buddy cop with the doomsday cult leader intended to antagonize the party for years to come. Conversely, good rolls give the diviner a get-out-of-jail-free card against that same BBEG's death spell. Either way it can be an automatic half-henderson or more.
Any plot that can unravel with just one or two key rolls suddenly will, meaning that the DM usually needs to plan a more complex game to engage the party fairly. This in turn plays to the diviner's hands; a diviner is literally a specialist in spells that gain extra information. Put all these pieces together, and you have a character that can put a DM on the defensive... and it's always, always in the hands of a player that does that anyway. If the DM was prepared and expecting this, great, but if the DM (or the other players) were expecting a dungeon-crawling action game this can strain the whole party.
In conclusion: DMs, talk to your players about divination to see if Portent is right for you. (Also, it's like two or three rolls per day, and if your DM is two or three rolls per adventuring day away from having his campaign wrecked, motherfucker needs all the help he can get.)
The Dice Master
A youtuber by the name of Zee Bashew created a diviner build he bizzarely named "Build Murrey" that takes the DM-breakdown-inducing nature of the diviner subclass and cranks it up to Kender/Xaositect levels, and the motherfucker even had the nerve to claim that it's "by no means an optimal build": https://www.youtube.com/watch?v=fSK0AcFqkyU